Fix value< string comparison ungoodthink
authorMattias Engdegård <mattiase@acm.org>
Sun, 28 Apr 2024 21:17:48 +0000 (23:17 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 29 Apr 2024 12:29:52 +0000 (14:29 +0200)
commit9b1e44c7fb5281688488ec077c048e268b716ad2
treea91248ffc1279ca3a946dca275b4e434bdd7d273
parent05215177a61437e864ef771afc99b130866fbcb5
Fix value< string comparison ungoodthink

* src/fns.c (string_cmp): Fix bad comparisons for certain strings.
This only affected `value<` for aggregates, not `string<`.
* test/src/fns-tests.el (fns-value<-ordered): Add test cases.
src/fns.c
test/src/fns-tests.el